package com.lmscn.lms.api.model;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * Created by Czl on 2015/7/25.
 */
@SuppressWarnings("serial")
public class SearchCourseCategory extends Model<SearchCourseCategory> {

    public static final SearchCourseCategory dao = new SearchCourseCategory();

    /**
     * 查询分类目录
     * @return
     */
    public List<SearchCourseCategory> getCategorys(){
        return dao.find("select * from t_search_course_category order by category_seq ");
    }
}
